/*
 * ProbCalculator.h
 *
 *  Created on: Feb 7, 2012
 *      Author: sd
 */

class ProbCalculator {
	public:
		ProbCalculator();
		ProbCalculator(int);
		void push(int y_h);
		float getProb();
		void reset();
		void changeDirection();

	protected:
		bool atLeastOneFullLine;
		int numToWin;
		float probToBuildThisLine;
		float probOfNotBuildingAnyLine;
		int k;
		float* queue;
};
